//
//  UCUISettings.m
//  AeroMapSDK
//
//  Created by 北京国泰北斗科技有限公司 on 2017/3/13.
//  Copyright © 2017年 北京国泰北斗科技有限公司. All rights reserved.
//

#import "UCUISettings.h"
#import <GoogleMaps/GoogleMaps.h>

@interface UCUISettings (){
    
    BOOL _scrollGestures;
    BOOL _zoomGestures;
    BOOL _tiltGestures;
    BOOL _rotateGestures;
    BOOL _compassButton;
    BOOL _consumesGesturesInView;
    BOOL _indoorPicker;
    BOOL _allowScrollGesturesDuringRotateOrZoom;
}

@property(nonatomic,strong)GMSUISettings *settings;

@end

@implementation UCUISettings

- (void)setAllGesturesEnabled:(BOOL)enabled{
    
    [_settings setAllGesturesEnabled:enabled];
}

- (void)setScrollGestures:(BOOL)scrollGestures{
    _scrollGestures = scrollGestures;
    _settings.scrollGestures = _scrollGestures;
}
- (BOOL)scrollGestures{
    return _settings.scrollGestures;
}



- (void)setZoomGestures:(BOOL)zoomGestures{
    _zoomGestures = zoomGestures;
    _settings.zoomGestures = _zoomGestures;
}
-(BOOL)zoomGestures{
    return _settings.zoomGestures;
}



- (void)setTiltGestures:(BOOL)tiltGestures{
    _tiltGestures = tiltGestures;
    _settings.tiltGestures = tiltGestures;
}
- (BOOL)tiltGestures{
    return _settings.tiltGestures;
}



- (void)setRotateGestures:(BOOL)rotateGestures{
    _rotateGestures = rotateGestures;
    _settings.rotateGestures = _rotateGestures;
}
- (BOOL)rotateGestures{
    return _settings.rotateGestures;
}



- (void)setCompassButton:(BOOL)compassButton{
    _compassButton = compassButton;
    _settings.compassButton = compassButton;
}
- (BOOL)compassButton{
    return _settings.compassButton;
}



- (void)setConsumesGesturesInView:(BOOL)consumesGesturesInView{
    _consumesGesturesInView = consumesGesturesInView;
    _settings.consumesGesturesInView = _consumesGesturesInView;
}
- (BOOL)consumesGesturesInView{
    return _settings.consumesGesturesInView;
}



- (void)setIndoorPicker:(BOOL)indoorPicker{
    _indoorPicker = indoorPicker;
    _settings.indoorPicker = indoorPicker;
}
- (BOOL)indoorPicker{
    return _settings.indoorPicker;
}



- (void)setAllowScrollGesturesDuringRotateOrZoom:(BOOL)allowScrollGesturesDuringRotateOrZoom{
    _allowScrollGesturesDuringRotateOrZoom = allowScrollGesturesDuringRotateOrZoom;
    _settings.allowScrollGesturesDuringRotateOrZoom = _allowScrollGesturesDuringRotateOrZoom;
}
- (BOOL)allowScrollGesturesDuringRotateOrZoom{
    return _settings.allowScrollGesturesDuringRotateOrZoom;
}

@end
